<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets">

<h:head>
	<title>Notícias</title>
	<!-- Le styles -->
	<link href="./assets/css/style5.css" rel="stylesheet" />

</h:head>

<h:body onload="$();">
	<div id="wrapper" align="center">
		<div id="MainConteiner">

			<div id="header_">
				<ui:insert name="header">
					<ui:include src="header.xhtml" />
				</ui:insert>
			</div>



			<div id="MainContentConteiner">

				<ui:repeat var="o" value="#{newsMBean.todasNoticias}" varStatus="status">

		
					<div class="InformationConteiner">
						<div class="title">#{o.title}</div>
						<div id="NoticesConteiner">
							<p class="notice" ><h:outputText value="#{o.content}" escape="false"></h:outputText></p>
						</div>
					</div>
				
				</ui:repeat>
			</div>

			<div id="footer">
				<ui:insert name="footer">
					<ui:include src="footer.xhtml" />
				</ui:insert>
			</div>
		</div>

	</div>

</h:body>
</html>
